package com.vehicle.mapper;

import com.vehicle.pojo.ASRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 年检记录
 */
public interface ASRecordMapper {
    //年检记录查询，带分页
    public List<ASRecord>selectASRecord(ASRecord asRecord);
    //根据id删除 弃用
    @Deprecated
    public void deleteASRecord(@Param("asid") int asid);
    public void updateStatusById(@Param("asid") int asid);
    //增加年检记录
    public void addASRecord(ASRecord asRecord);
    //修改年检记录
    public void updateASRecord(ASRecord asRecord);
}
